Indexing and slicing in Python with example